import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入自定义全剧样式
import '../src/assets/css/gloabel.css'
// 引入element-UI
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入axios
import axios from 'axios'
// 跨域请求头处理的token
axios.defaults.withCredentials=true
axios.defaults.xsrfCookieName='XSRF-TOKEN'
// 引入图标库
import './assets/icon/iconfont.js'

// g挂载axios
Vue.prototype.$axios=axios
// 设置请求路径
axios.defaults.baseURL="http://localhost:8150/"
Vue.use(Element)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  // tinymce,
  // Editor,
  render: h => h(App)
}).$mount('#app')
